import request from '@/utils/request'
/**
 * 获取角色列表
 * ***/
export function getRoleListApi(page, pagesize) {
  return request({
    method: 'get',
    url: '/sys/role',
    params: {
      page,
      pagesize
    }
  })
}
  export function deleteRoleApi(id){
    return request({
      url:`/sys/role/${id}`,
      method:'delete'
    })
  }
